package com.gxa.accommodation.controller;


import com.gxa.accommodation.entity.Accommodation;
import com.gxa.accommodation.service.AccommodationService;
import com.gxa.accommodation.service.CommentService;
import com.gxa.common.base.RespResult;
import com.gxa.common.page.AccommodationQueryPage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@RestController
public class CommentController {

    @Autowired
    CommentService commentService;

    @PostMapping("/commentsManagement/acComment")
    public RespResult getCommentService(@RequestBody Map<String,Object> map) {
        return RespResult.success(commentService.acCommentFind(map));
    }
}
